﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClassProject.DAL;

namespace ClassProject.BAL
{
    class InformationDetailsBAL
    {
        InformationDetailsDAL infoDetailDAL = new InformationDetailsDAL();

        public InformationDetailsBAL()
        {
            
        }

        public int Insert_BAL()
        {
            try
            {
                return infoDetailDAL.Insert();
            }
            catch (Exception)
            {
                
                throw;
            }finally
            {
                infoDetailDAL = null;
            }
        }

        public int Update_BAL()
        {
            try
            {
                return infoDetailDAL.Update();
            }
            catch (Exception)
            {

                throw;
            }
            finally
            {
                infoDetailDAL = null;
            }
        }

        public int Delete_BAL()
        {
            try
            {
                return infoDetailDAL.Delete();
            }
            catch (Exception)
            {

                throw;
            }
            finally
            {
                infoDetailDAL = null;
            }
        }
    }
}
